Contents

Hi there,
This is a tech memo to show how to build your own blog using a website generating tool called Hexo.
You only have to configure the config file and the tool will automatically generate the html, css files for you. Then, you can upload your website to the Internet.

First, you should download the required software:

  1. Node.js
  2. Git
  3. Hexo

Thoses 3 pieces of software provide both multi platform support such as linux, windows, mac…
Installation of the Node.js and Git software should be straight forward, since they provide a GUI installer.

Then you should install Hexo tool (the web generating tool) through the git command line. In mac or linux it is integrated into your terminal (Shell), and in windows it will install a Git Bash and you should click open that terminal.

When you have opened a terminal, you can just type the following command to install npm through git:

$ npm install hexo-cli -g
$ npm install hexo --save

Then you can cd into the folder that you intend to put website files and execute

$ hexo init
$ npm install

And then you can install the Hexo plug-ins

npm install hexo-generator-index --save
npm install hexo-generator-archive --save
npm install hexo-generator-category --save
npm install hexo-generator-tag --save
npm install hexo-server --save
npm install hexo-deployer-git --save
npm install hexo-deployer-heroku --save
npm install hexo-deployer-rsync --save
npm install hexo-deployer-openshift --save
npm install hexo-renderer-marked@0.2 --save
npm install hexo-renderer-stylus@0.2 --save
npm install hexo-generator-feed@1 --save
npm install hexo-generator-sitemap@1 --save
Contents